package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import org.flowable.engine.delegate.DelegateExecution;

import java.util.List;

/**
 * @author wuliepeng
 */
public interface FlowUserTaskExpressionResolveRepository {

    /**
     *
     * @param execution
     * @return
     */
    String resolveAssignee(DelegateExecution execution);

    /**
     *
     * @param execution
     * @return
     */
    List<String> resolveCandidate(DelegateExecution execution) throws Exception;
}
